import { observable, action } from "mobx"
import { UserApi } from "@/api"

class UserListStore {

    constructor() {

    }

    @action
    async addUser(data) {
        const result = await UserApi.addUser(data);
        return result;
    }
}

export default new UserListStore();